package com.cci.kangdao.exception;

public enum ExceptionStatus {
    SUCCESS(0, "请求成功"),

    PARAMS_ERROR(-1, "参数异常"),
    TOKEN_ERROR(-2, "token错误"),

    DEALINGWAIT(-98, "处理中，请稍后！"),
    FAILED(-99, "系统未知错误");


    private Integer status;
    private String message;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ExceptionStatus(Integer status, String message) {
        this.status = status;
        this.message = message;
    }
}
